.class public Lcom/estrongs/fs/util/d;
.super Ljava/lang/Object;
.source "FileCounter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/fs/util/d$a;
    }
.end annotation


# instance fields
.field public a:J

.field public b:I

.field public c:I

.field public d:J

.field public e:J

.field public f:J

.field public g:J

.field public h:J

.field public i:J

.field public j:J

.field public k:J

.field public l:J

.field public m:J

.field public n:J

.field public o:J

.field p:Z

.field private q:Lcom/estrongs/fs/util/d$a;


# direct methods
.method public constructor <init>()V
    .locals 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-wide/16 v0, 0x0

    .line 2
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->a:J

    const/4 v2, 0x0

    .line 3
    iput v2, p0, Lcom/estrongs/fs/util/d;->b:I

    .line 4
    iput v2, p0, Lcom/estrongs/fs/util/d;->c:I

    .line 5
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->d:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->e:J

    .line 6
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->f:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->g:J

    .line 7
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->h:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->i:J

    .line 8
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->j:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->k:J

    .line 9
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->l:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->m:J

    .line 10
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->n:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->o:J

    .line 11
    iput-boolean v2, p0, Lcom/estrongs/fs/util/d;->p:Z

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/util/d$a;)V
    .locals 3

    .line 24
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-wide/16 v0, 0x0

    .line 25
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->a:J

    const/4 v2, 0x0

    .line 26
    iput v2, p0, Lcom/estrongs/fs/util/d;->b:I

    .line 27
    iput v2, p0, Lcom/estrongs/fs/util/d;->c:I

    .line 28
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->d:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->e:J

    .line 29
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->f:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->g:J

    .line 30
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->h:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->i:J

    .line 31
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->j:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->k:J

    .line 32
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->l:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->m:J

    .line 33
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->n:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->o:J

    .line 34
    iput-boolean v2, p0, Lcom/estrongs/fs/util/d;->p:Z

    .line 35
    iput-object p1, p0, Lcom/estrongs/fs/util/d;->q:Lcom/estrongs/fs/util/d$a;

    return-void
.end method

.method public constructor <init>(Ljava/io/File;)V
    .locals 3

    .line 12
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-wide/16 v0, 0x0

    .line 13
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->a:J

    const/4 v2, 0x0

    .line 14
    iput v2, p0, Lcom/estrongs/fs/util/d;->b:I

    .line 15
    iput v2, p0, Lcom/estrongs/fs/util/d;->c:I

    .line 16
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->d:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->e:J

    .line 17
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->f:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->g:J

    .line 18
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->h:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->i:J

    .line 19
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->j:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->k:J

    .line 20
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->l:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->m:J

    .line 21
    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->n:J

    iput-wide v0, p0, Lcom/estrongs/fs/util/d;->o:J

    .line 22
    iput-boolean v2, p0, Lcom/estrongs/fs/util/d;->p:Z

    .line 23
    invoke-virtual {p0, p1}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Lcom/estrongs/fs/util/d;->p:Z

    return-void
.end method

.method public a(Ljava/io/File;)V
    .locals 6

    .line 4
    iget-boolean v0, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v0, :cond_0

    return-void

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/util/d;->q:Lcom/estrongs/fs/util/d$a;

    if-eqz v0, :cond_1

    .line 6
    invoke-interface {v0, p1}, Lcom/estrongs/fs/util/d$a;->a(Ljava/io/File;)V

    .line 7
    :cond_1
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v0

    const-string v1, "/"

    const/4 v2, 0x0

    if-nez v0, :cond_6

    .line 8
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 9
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 10
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lcom/estrongs/fs/h;->a:Lcom/estrongs/fs/h;

    invoke-static {v0, v1}, Lcom/estrongs/fs/impl/local/f;->a(Ljava/lang/String;Lcom/estrongs/fs/h;)Ljava/util/List;

    move-result-object v0

    .line 11
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 12
    iget-boolean v2, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v2, :cond_2

    return-void

    .line 13
    :cond_2
    :try_start_0
    new-instance v2, Ljava/io/File;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v2}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V
    :try_end_0
    .catch Ljava/lang/StackOverflowError; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    nop

    goto :goto_0

    .line 14
    :cond_3
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/fs/impl/local/f;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_5

    .line 15
    iget v0, p0, Lcom/estrongs/fs/util/d;->c:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/estrongs/fs/util/d;->c:I

    .line 16
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object p1

    sget-object v0, Lcom/estrongs/fs/h;->a:Lcom/estrongs/fs/h;

    invoke-static {p1, v0}, Lcom/estrongs/fs/impl/local/f;->a(Ljava/lang/String;Lcom/estrongs/fs/h;)Ljava/util/List;

    move-result-object p1

    .line 17
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 18
    iget-boolean v1, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v1, :cond_4

    return-void

    .line 19
    :cond_4
    :try_start_1
    new-instance v1, Ljava/io/File;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v1}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V
    :try_end_1
    .catch Ljava/lang/StackOverflowError; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_1

    :catch_1
    nop

    goto :goto_1

    .line 20
    :cond_5
    iget v0, p0, Lcom/estrongs/fs/util/d;->b:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/estrongs/fs/util/d;->b:I

    .line 21
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/fs/impl/local/f;->e(Ljava/lang/String;)J

    move-result-wide v0

    .line 22
    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1, v0, v1}, Lcom/estrongs/fs/util/d;->a(Ljava/lang/String;J)V

    .line 23
    iget-wide v2, p0, Lcom/estrongs/fs/util/d;->a:J

    add-long/2addr v2, v0

    iput-wide v2, p0, Lcom/estrongs/fs/util/d;->a:J

    goto :goto_4

    .line 24
    :cond_6
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 25
    iget-boolean v0, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v0, :cond_7

    return-void

    .line 26
    :cond_7
    invoke-virtual {p1}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v0

    if-eqz v0, :cond_9

    .line 27
    array-length v1, v0

    const/4 v3, 0x0

    :goto_2
    if-ge v3, v1, :cond_9

    aget-object v4, v0, v3

    .line 28
    iget-boolean v5, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v5, :cond_8

    return-void

    .line 29
    :cond_8
    :try_start_2
    invoke-virtual {p0, v4}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V
    :try_end_2
    .catch Ljava/lang/StackOverflowError; {:try_start_2 .. :try_end_2} :catch_2

    :catch_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_2

    .line 30
    :cond_9
    invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_b

    .line 31
    iget v0, p0, Lcom/estrongs/fs/util/d;->c:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/estrongs/fs/util/d;->c:I

    .line 32
    invoke-virtual {p1}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object p1

    if-eqz p1, :cond_c

    .line 33
    array-length v0, p1

    :goto_3
    if-ge v2, v0, :cond_c

    aget-object v1, p1, v2

    .line 34
    iget-boolean v3, p0, Lcom/estrongs/fs/util/d;->p:Z

    if-eqz v3, :cond_a

    return-void

    .line 35
    :cond_a
    :try_start_3
    invoke-virtual {p0, v1}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V
    :try_end_3
    .catch Ljava/lang/StackOverflowError; {:try_start_3 .. :try_end_3} :catch_3

    :catch_3
    add-int/lit8 v2, v2, 0x1

    goto :goto_3

    .line 36
    :cond_b
    iget v0, p0, Lcom/estrongs/fs/util/d;->b:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/estrongs/fs/util/d;->b:I

    .line 37
    invoke-virtual {p0, p1}, Lcom/estrongs/fs/util/d;->b(Ljava/io/File;)J

    move-result-wide v0

    .line 38
    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1, v0, v1}, Lcom/estrongs/fs/util/d;->a(Ljava/lang/String;J)V

    .line 39
    iget-wide v2, p0, Lcom/estrongs/fs/util/d;->a:J

    add-long/2addr v2, v0

    iput-wide v2, p0, Lcom/estrongs/fs/util/d;->a:J

    :cond_c
    :goto_4
    return-void
.end method

.method public a(Ljava/lang/String;J)V
    .locals 5

    .line 40
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result p1

    .line 41
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->d(I)Z

    move-result v0

    const-wide/16 v1, 0x1

    if-eqz v0, :cond_0

    .line 42
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->j:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->j:J

    .line 43
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->k:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->k:J

    goto :goto_1

    .line 44
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->e(I)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 45
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->f:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->f:J

    .line 46
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->g:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->g:J

    goto :goto_1

    .line 47
    :cond_1
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->E(I)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 48
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->h:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->h:J

    .line 49
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->i:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->i:J

    goto :goto_1

    .line 50
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->p(I)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 51
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->d:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->d:J

    .line 52
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->e:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->e:J

    goto :goto_1

    .line 53
    :cond_3
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->D(I)Z

    move-result v0

    if-nez v0, :cond_5

    .line 54
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->F(I)Z

    move-result v0

    if-nez v0, :cond_5

    .line 55
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->A(I)Z

    move-result v0

    if-nez v0, :cond_5

    .line 56
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->m(I)Z

    move-result v0

    if-nez v0, :cond_5

    .line 57
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->y(I)Z

    move-result p1

    if-eqz p1, :cond_4

    goto :goto_0

    .line 58
    :cond_4
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->n:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->n:J

    .line 59
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->o:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->o:J

    goto :goto_1

    .line 60
    :cond_5
    :goto_0
    iget-wide v3, p0, Lcom/estrongs/fs/util/d;->l:J

    add-long/2addr v3, p2

    iput-wide v3, p0, Lcom/estrongs/fs/util/d;->l:J

    .line 61
    iget-wide p1, p0, Lcom/estrongs/fs/util/d;->m:J

    add-long/2addr p1, v1

    iput-wide p1, p0, Lcom/estrongs/fs/util/d;->m:J

    :goto_1
    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/io/File;",
            ">;)V"
        }
    .end annotation

    .line 2
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/io/File;

    .line 3
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/util/d;->a(Ljava/io/File;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public b()I
    .locals 1

    .line 2
    iget v0, p0, Lcom/estrongs/fs/util/d;->b:I

    return v0
.end method

.method protected b(Ljava/io/File;)J
    .locals 2

    .line 1
    invoke-virtual {p1}, Ljava/io/File;->length()J

    move-result-wide v0

    return-wide v0
.end method

.method public c()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/fs/util/d;->c:I

    return v0
.end method

.method public d()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/util/d;->a:J

    return-wide v0
.end method
